package com.bml.architect.alibaba.fallback;

import com.bml.architect.alibaba.feign.AccountFeignService;
import com.bml.architect.alibaba.vo.R;
import org.springframework.stereotype.Component;

/**
 * @author: baiml
 * @Title: AccountServiceFeignFallBack
 * @ProjectName: 中台技术平台
 * @Depart 中台研发部
 * @Description:
 * @date: 2021/4/23 13:35
 */
@Component
public class AccountServiceFeignFallBack implements AccountFeignService {
    @Override
    public R findUserById(Integer userid) {
        return R.error(101,"=======服务降级了========");
    }
}
